//package com.example.provider.service.Impl;
//
//import java.util.List;
//import org.slf4j.Logger;
//import org.slf4j.LoggerFactory;
//import org.springframework.stereotype.Service;
//import org.springframework.transaction.annotation.Transactional;
//import com.baomidou.mybatisplus.core.metadata.IPage;
//import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
//import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
//import .model.Image;
//import .model.condition.ImageCondition;
//import .mapper.ImageMapper;
//import .service.ImageService;
//
///**
// * 用于存放文章表的图片关系Service接口实现
// *
// * @author 510
// * @version 1.0.0 2021-04-23
// */
//@Service
//@Transactional(readOnly = true)
//public class ImageServiceImpl extends ServiceImpl<ImageMapper, Image> implements ImageService {
//    private static final Logger logger = LoggerFactory.getLogger(ImageService.class);
//
//    @Override
//    public IPage<Image> findImageByCondition(ImageCondition condition) {
//        IPage<Image> page = condition.buildPage();
//        QueryWrapper<Image> queryWrapper = condition.buildQueryWrapper(Image.class);
//        return this.page(page, queryWrapper);
//    }
//
//    @Override
//    public Image getImageById( ) {
//        return this.getById();
//    }
//
//    @Transactional
//    @Override
//    public boolean addImage(Image image) {
//        return this.save(image);
//    }
//
//    @Transactional
//    @Override
//    public boolean updateImage(Image image) {
//        return this.updateById(image);
//    }
//
//    @Transactional
//    @Override
//    public boolean deleteImageById( ) {
//        return this.removeById();
//    }
//
//    @Transactional
//    @Override
//    public boolean deleteImageByIds(List<> idList) {
//        return this.removeByIds(idList);
//    }
//}